import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Submission } from './submission.entity';
import { SubmissionService } from './submission.service';
import { SubmissionController } from './submission.controller';
import { ProjectShare } from '../project/project-share.entity';
import { ProjectModule } from '../project/project.module';
import { UserModule } from '../user/user.module';

@Module({
  imports: [TypeOrmModule.forFeature([Submission, ProjectShare]), ProjectModule, UserModule],
  providers: [SubmissionService],
  controllers: [SubmissionController],
})
export class SubmissionModule {}